/**
 * 张强 on 20170729
 *
 */
import React, { Component } from 'react'
import style from './noData.scss'

export default class NoData extends Component {
	constructor(props) {
		super(props);
		this.state = {
		}
	}

	toUrl(url){
		this.context.router.push(url);
	}


	render() {
		let res = this.props.orderList;
		return (
			<div className={style.noData}>
				{/*没有图片展示 state*/}
				<div className={style.no_data_box}>
					<div className={style.no_order}>
						<img className={style.no_data_icon} src="./images/no_data_icon.png" alt=""/>
						<div>您没有订单哦</div>
					</div>
				</div>
				{/*没有图片展示 end*/}
			</div>
		)
	}
}

NoData.contextTypes = {
	router: React.PropTypes.object.isRequired
};

NoData.defaultProps = {

};

